<style type="text/css">
<?php if ($sf_user->getCulture() == "cn" || $sf_user->getCulture() == "jp") { ?>
html, body, form, a, acronym, code, div, hr, img, label, p, pre, span, strong, table, tr, th, td, button, input, textarea {
    font-family : "Microsoft YaHei" !important;
}
<?php } ?>
.menu_title {
    font-weight: bold;
    font-family: arial;
    font-size: 12px;
}
</style>
<script type="text/javascript" >

$(function() {
    blink('#msg');
});

function blink(selector) {
    $(selector).fadeOut('slow', function() {
        $(this).fadeIn('slow', function() {
            blink(this);
        });
    });
}
</script>
<div class="menu" style="z-index: 20;">
    <ul>
        <li class="menu_title"><?php echo __('MAIN MENU'); ?></li>
        <li>
            <a href="/member/summary"><span><?php echo __('Summary'); ?></span></a>
        </li>
        <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-209">
            <a href="/member/viewProfile"><span><?php echo __('User Profile'); ?></span></a>
        </li>
        <li>
            <a href="/member/memberRegistration"><span><?php echo __('Registration'); ?></span></a>
        </li>

        <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-209">
            <a href="<?php echo url_for("/member/transferEpoint")?>"><span><?php echo __('e-Point Transfer'); ?></span></a>
        </li>
    <?php if ($distDB->getStatusCode() == Globals::STATUS_ACTIVE) { ?>
        <!--<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-209">
            <a href="/member/reloadTopup"><span><?php /*echo __('Reload MT4 Fund'); */?></span></a>
        </li>-->
    <?php } ?>
    </ul>
    <br class="clear"><br>
    <ul>
        <li class="menu_title"><?php echo __('ACCOUNT INFORMATION'); ?></li>
        <!--<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-209">
            <a href="/member/accountInquiries"><span><?php /*echo __('Account Inquiries'); */?></span></a>
        </li>-->
        <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-209">
            <a href="/member/bonusDetails"><span><?php echo __('Commission'); ?></span></a>
        </li>
        <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-209">
            <a href="/member/pipsSummary"><span><?php echo __('Pips Rebate'); ?></span></a>
        </li>
        <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-209">
            <a href="<?php echo url_for("/member/epointLog") ?>"><span><?php echo __('Monetary Wallet'); ?></span></a>
        </li>
        <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-209">
            <a href="/member/ecashWithdrawal"><span><?php echo __('e-Wallet Withdrawal'); ?></span></a>
        </li>
    </ul>

    <br class="clear"><br>

    <!--<ul>
        <li class="menu_title"><?php /*echo __('INVESTMENT'); */?></li>
        <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-209">
            <a href="/member/myFinancialPackage"><span><?php /*echo __('My Financial Package'); */?></span></a>
        </li>
        <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-209">
            <a href="/member/investmentFinancialPackage"><span><?php /*echo __('Investment'); */?></span></a>
        </li>
    </ul>
    <br class="clear"><br>-->

    <ul>
        <li class="menu_title"><?php echo __('HIERARCHY'); ?></li>
        <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-209">
            <a href="/member/sponsorTree"><span><?php echo __('Sponsor Genealogy'); ?></span></a>
        </li>
        <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-209">
            <a href="/member/placementTree"><span><?php echo __('Placement Genealogy'); ?></span></a>
        </li>
    </ul>
    <br class="clear"><br>

    <ul>
        <li class="menu_title"><?php echo __('CONTACT'); ?></li>
        <?php
            $style = "";
            if ($totalUnreadCsMessage > 0) {
                $style = "style='color: green'";
            }
        ?>
        <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-209">
            <a href="/member/customerEnquiry" <?php echo $style;?>>
            <?php
            if ($totalUnreadCsMessage > 0) { ?>
                <div id="msg"> <strong><?php
                    echo __('CS Center')." (".$totalUnreadCsMessage.")"; ?></strong> </div>
            <?php
            } else {
                echo __('CS Center');
            }
            ?></a>
        </li>
    </ul>
    <br class="clear"><br>
    <ul>
        <li class="menu_title"><?php echo __('ANNOUNCEMENT'); ?></li>
        <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-209">
            <a href="/member/announcementList"><span><?php echo __('Announcement List'); ?></span></a>
        </li>
    </ul>
    <br class="clear"><br>
    <ul>
        <li class="menu_title"><?php echo __('DOWNLOAD'); ?></li>
    <?php if ($distDB->getStatusCode() == Globals::STATUS_ACTIVE) { ?>
        <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-209">
            <a href="<?php echo url_for("/download/downloadMt4Pro?q=" . rand()) ?>"><span><?php echo __('Download MT4 Platform'); ?></span></a>
        </li>
    <?php } ?>
    <?php if ($distDB->getStatusCode() == Globals::STATUS_ACTIVE) { ?>
        <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-209">
            <a href="<?php echo url_for("/member/dailyFxGuide") ?>"><span><?php echo __('Download Daily FX Guide'); ?></span></a>
        </li>
    <?php } ?>
    </ul>
</div>